package com.shupian.domain.vo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TagVo {

    @Min(1)
    private Long id;

    //标签名
    @NotBlank
    private String name;

    //备注
    @NotNull
    private String remark;
}
